<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<style>
		div{
			width: 100px;
			height: 100px;
		}
		div:first-child{
			background-color: red;
			position: absolute;
			z-index: 100;
		}

		div:last-child{
			background-color: blue;
			position: absolute;
			left: 50px;
			top:50px;
			z-index: 1000
		}
	</style>
</head>
<body>
	<div></div>
	<div></div>
</body>
</html>








